package chongtoukaishi;

public class XunHuanZhengChu {
    public static void main(String[] args) {
        for (int i=1;i<=150;i++) {
            System.out.println(i);
        if (i % 3 == 0) {
                System.out.println(i+"foo");}
        if (i%5==0&i%7==0){
                System.out.println(i+"biz"+"foo");}
        else if (i%5==0){
            System.out.println(i+"biz");
        }
        if (i%7==0){
                System.out.println(i+"baz");}

        }}
}
